/**
 * @file Text.h
 * @brief Headers for functions manipulating text windows.
 * @author Matt Stallmann @date 29 Dec 2001
 * $Id: Text.h 10 2007-06-28 20:08:57Z mfms $
 */

/*
 *  Copyright (C) 2001  Matthias Stallmann.
 *  Contact: matt_stallmann@ncsu.edu
 *
 *  This program is free software; you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation; either version 2 of the License, or
 *  (at your option) any later version.
 *
 *  This program is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License along
 *  with this program (file COPYING.txt); if not, write to the Free Software
 *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
 *  USA.
 */

#include"TextWindowList.h"

extern TWIN create_text_window(int xp, int yp, char *mesg_str);
/**< creates a new text window at position (xp,yp) with text 'mesg_str' and
   returns it as an X11 Window (message string can contain \n's to signal
   line breaks) */

extern void write_text_window(TWIN wind, char *mesg_str);
/**< writes the given text 'mesg_str' into text window 'wind', deleting what
   appeared there before */ 

extern int redraw_text_window(TWIN wind);
/**< redraws the contents of the text window 'wind'; returns TRUE iff 'wind'
   is on the list of text windows */

extern TWIN find_text_window(Window xwin);
/**< return the index to xwin the array of text windows if it exists, or
   NULL_TEXT_WINDOW otherwise */

extern void hide_window(TWIN w);
/**< causes text window 'w' to be hidden from view */

extern void kill_window(TWIN w);
/**< destroys text window 'w' (and removes it from the list of text windows) */


/*  [Last modified: 2007 06 28 at 19:31:21 GMT] */
